<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:r="http://richfaces.org/rich">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><ui:insert name="title" /></title>
</head>
<body>
<h:form>
	<r:toolBar>
		<r:dropDownMenu>
			<f:facet name="label">
				<h:panelGroup>
					<r:menuItem value="Главная" action="/main.xhtml">
					</r:menuItem>
				</h:panelGroup>
			</f:facet>
		</r:dropDownMenu>
		<r:dropDownMenu>
			<f:facet name="label">
				<h:panelGroup>
					<r:menuItem value="Шаблоны" action="/template/list.xhtml">
					</r:menuItem>
				</h:panelGroup>
			</f:facet>
			<r:menuItem value="Создание шаблона" action="/template/add.xhtml?conversationPropagation=begin">
			</r:menuItem>
		</r:dropDownMenu>
	</r:toolBar>
</h:form>
<div class="body"><r:panel>
	<f:facet name="header">
		<ui:insert name="title" />
	</f:facet>
	<ui:insert name="body" />
</r:panel></div>
</body>
</html>
